package com.google.ssm.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProductExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(String value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(String value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(String value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(String value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(String value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLike(String value) {
            addCriterion("product_id like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotLike(String value) {
            addCriterion("product_id not like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<String> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<String> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(String value1, String value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(String value1, String value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNull() {
            addCriterion("product_name is null");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNotNull() {
            addCriterion("product_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualTo(String value) {
            addCriterion("product_name =", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualTo(String value) {
            addCriterion("product_name <>", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThan(String value) {
            addCriterion("product_name >", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_name >=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThan(String value) {
            addCriterion("product_name <", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualTo(String value) {
            addCriterion("product_name <=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLike(String value) {
            addCriterion("product_name like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotLike(String value) {
            addCriterion("product_name not like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameIn(List<String> values) {
            addCriterion("product_name in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotIn(List<String> values) {
            addCriterion("product_name not in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameBetween(String value1, String value2) {
            addCriterion("product_name between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotBetween(String value1, String value2) {
            addCriterion("product_name not between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(String value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(String value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(String value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(String value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(String value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(String value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLike(String value) {
            addCriterion("product_type like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotLike(String value) {
            addCriterion("product_type not like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<String> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<String> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(String value1, String value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(String value1, String value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andTotalNumIsNull() {
            addCriterion("total_num is null");
            return (Criteria) this;
        }

        public Criteria andTotalNumIsNotNull() {
            addCriterion("total_num is not null");
            return (Criteria) this;
        }

        public Criteria andTotalNumEqualTo(Integer value) {
            addCriterion("total_num =", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotEqualTo(Integer value) {
            addCriterion("total_num <>", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumGreaterThan(Integer value) {
            addCriterion("total_num >", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_num >=", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumLessThan(Integer value) {
            addCriterion("total_num <", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumLessThanOrEqualTo(Integer value) {
            addCriterion("total_num <=", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumIn(List<Integer> values) {
            addCriterion("total_num in", values, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotIn(List<Integer> values) {
            addCriterion("total_num not in", values, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumBetween(Integer value1, Integer value2) {
            addCriterion("total_num between", value1, value2, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotBetween(Integer value1, Integer value2) {
            addCriterion("total_num not between", value1, value2, "totalNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumIsNull() {
            addCriterion("spike_num is null");
            return (Criteria) this;
        }

        public Criteria andSpikeNumIsNotNull() {
            addCriterion("spike_num is not null");
            return (Criteria) this;
        }

        public Criteria andSpikeNumEqualTo(Integer value) {
            addCriterion("spike_num =", value, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumNotEqualTo(Integer value) {
            addCriterion("spike_num <>", value, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumGreaterThan(Integer value) {
            addCriterion("spike_num >", value, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("spike_num >=", value, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumLessThan(Integer value) {
            addCriterion("spike_num <", value, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumLessThanOrEqualTo(Integer value) {
            addCriterion("spike_num <=", value, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumIn(List<Integer> values) {
            addCriterion("spike_num in", values, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumNotIn(List<Integer> values) {
            addCriterion("spike_num not in", values, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumBetween(Integer value1, Integer value2) {
            addCriterion("spike_num between", value1, value2, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andSpikeNumNotBetween(Integer value1, Integer value2) {
            addCriterion("spike_num not between", value1, value2, "spikeNum");
            return (Criteria) this;
        }

        public Criteria andLowerGroupIsNull() {
            addCriterion("lower_group is null");
            return (Criteria) this;
        }

        public Criteria andLowerGroupIsNotNull() {
            addCriterion("lower_group is not null");
            return (Criteria) this;
        }

        public Criteria andLowerGroupEqualTo(Integer value) {
            addCriterion("lower_group =", value, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupNotEqualTo(Integer value) {
            addCriterion("lower_group <>", value, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupGreaterThan(Integer value) {
            addCriterion("lower_group >", value, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupGreaterThanOrEqualTo(Integer value) {
            addCriterion("lower_group >=", value, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupLessThan(Integer value) {
            addCriterion("lower_group <", value, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupLessThanOrEqualTo(Integer value) {
            addCriterion("lower_group <=", value, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupIn(List<Integer> values) {
            addCriterion("lower_group in", values, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupNotIn(List<Integer> values) {
            addCriterion("lower_group not in", values, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupBetween(Integer value1, Integer value2) {
            addCriterion("lower_group between", value1, value2, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andLowerGroupNotBetween(Integer value1, Integer value2) {
            addCriterion("lower_group not between", value1, value2, "lowerGroup");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceIsNull() {
            addCriterion("original_price is null");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceIsNotNull() {
            addCriterion("original_price is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceEqualTo(Double value) {
            addCriterion("original_price =", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotEqualTo(Double value) {
            addCriterion("original_price <>", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceGreaterThan(Double value) {
            addCriterion("original_price >", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("original_price >=", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceLessThan(Double value) {
            addCriterion("original_price <", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceLessThanOrEqualTo(Double value) {
            addCriterion("original_price <=", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceIn(List<Double> values) {
            addCriterion("original_price in", values, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotIn(List<Double> values) {
            addCriterion("original_price not in", values, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceBetween(Double value1, Double value2) {
            addCriterion("original_price between", value1, value2, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotBetween(Double value1, Double value2) {
            addCriterion("original_price not between", value1, value2, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andIsSpikedIsNull() {
            addCriterion("is_spiked is null");
            return (Criteria) this;
        }

        public Criteria andIsSpikedIsNotNull() {
            addCriterion("is_spiked is not null");
            return (Criteria) this;
        }

        public Criteria andIsSpikedEqualTo(Integer value) {
            addCriterion("is_spiked =", value, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedNotEqualTo(Integer value) {
            addCriterion("is_spiked <>", value, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedGreaterThan(Integer value) {
            addCriterion("is_spiked >", value, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_spiked >=", value, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedLessThan(Integer value) {
            addCriterion("is_spiked <", value, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedLessThanOrEqualTo(Integer value) {
            addCriterion("is_spiked <=", value, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedIn(List<Integer> values) {
            addCriterion("is_spiked in", values, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedNotIn(List<Integer> values) {
            addCriterion("is_spiked not in", values, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedBetween(Integer value1, Integer value2) {
            addCriterion("is_spiked between", value1, value2, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andIsSpikedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_spiked not between", value1, value2, "isSpiked");
            return (Criteria) this;
        }

        public Criteria andSpikePriceIsNull() {
            addCriterion("spike_price is null");
            return (Criteria) this;
        }

        public Criteria andSpikePriceIsNotNull() {
            addCriterion("spike_price is not null");
            return (Criteria) this;
        }

        public Criteria andSpikePriceEqualTo(Double value) {
            addCriterion("spike_price =", value, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceNotEqualTo(Double value) {
            addCriterion("spike_price <>", value, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceGreaterThan(Double value) {
            addCriterion("spike_price >", value, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceGreaterThanOrEqualTo(Double value) {
            addCriterion("spike_price >=", value, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceLessThan(Double value) {
            addCriterion("spike_price <", value, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceLessThanOrEqualTo(Double value) {
            addCriterion("spike_price <=", value, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceIn(List<Double> values) {
            addCriterion("spike_price in", values, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceNotIn(List<Double> values) {
            addCriterion("spike_price not in", values, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceBetween(Double value1, Double value2) {
            addCriterion("spike_price between", value1, value2, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andSpikePriceNotBetween(Double value1, Double value2) {
            addCriterion("spike_price not between", value1, value2, "spikePrice");
            return (Criteria) this;
        }

        public Criteria andIsGroupIsNull() {
            addCriterion("is_group is null");
            return (Criteria) this;
        }

        public Criteria andIsGroupIsNotNull() {
            addCriterion("is_group is not null");
            return (Criteria) this;
        }

        public Criteria andIsGroupEqualTo(Integer value) {
            addCriterion("is_group =", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupNotEqualTo(Integer value) {
            addCriterion("is_group <>", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupGreaterThan(Integer value) {
            addCriterion("is_group >", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_group >=", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupLessThan(Integer value) {
            addCriterion("is_group <", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupLessThanOrEqualTo(Integer value) {
            addCriterion("is_group <=", value, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupIn(List<Integer> values) {
            addCriterion("is_group in", values, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupNotIn(List<Integer> values) {
            addCriterion("is_group not in", values, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupBetween(Integer value1, Integer value2) {
            addCriterion("is_group between", value1, value2, "isGroup");
            return (Criteria) this;
        }

        public Criteria andIsGroupNotBetween(Integer value1, Integer value2) {
            addCriterion("is_group not between", value1, value2, "isGroup");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceIsNull() {
            addCriterion("fight_group_price is null");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceIsNotNull() {
            addCriterion("fight_group_price is not null");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceEqualTo(Double value) {
            addCriterion("fight_group_price =", value, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceNotEqualTo(Double value) {
            addCriterion("fight_group_price <>", value, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceGreaterThan(Double value) {
            addCriterion("fight_group_price >", value, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("fight_group_price >=", value, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceLessThan(Double value) {
            addCriterion("fight_group_price <", value, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceLessThanOrEqualTo(Double value) {
            addCriterion("fight_group_price <=", value, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceIn(List<Double> values) {
            addCriterion("fight_group_price in", values, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceNotIn(List<Double> values) {
            addCriterion("fight_group_price not in", values, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceBetween(Double value1, Double value2) {
            addCriterion("fight_group_price between", value1, value2, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andFightGroupPriceNotBetween(Double value1, Double value2) {
            addCriterion("fight_group_price not between", value1, value2, "fightGroupPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdIsNull() {
            addCriterion("Default_picture_id is null");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdIsNotNull() {
            addCriterion("Default_picture_id is not null");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdEqualTo(String value) {
            addCriterion("Default_picture_id =", value, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdNotEqualTo(String value) {
            addCriterion("Default_picture_id <>", value, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdGreaterThan(String value) {
            addCriterion("Default_picture_id >", value, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdGreaterThanOrEqualTo(String value) {
            addCriterion("Default_picture_id >=", value, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdLessThan(String value) {
            addCriterion("Default_picture_id <", value, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdLessThanOrEqualTo(String value) {
            addCriterion("Default_picture_id <=", value, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdLike(String value) {
            addCriterion("Default_picture_id like", value, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdNotLike(String value) {
            addCriterion("Default_picture_id not like", value, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdIn(List<String> values) {
            addCriterion("Default_picture_id in", values, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdNotIn(List<String> values) {
            addCriterion("Default_picture_id not in", values, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdBetween(String value1, String value2) {
            addCriterion("Default_picture_id between", value1, value2, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andDefaultPictureIdNotBetween(String value1, String value2) {
            addCriterion("Default_picture_id not between", value1, value2, "defaultPictureId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreatePersonIsNull() {
            addCriterion("create_person is null");
            return (Criteria) this;
        }

        public Criteria andCreatePersonIsNotNull() {
            addCriterion("create_person is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePersonEqualTo(String value) {
            addCriterion("create_person =", value, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonNotEqualTo(String value) {
            addCriterion("create_person <>", value, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonGreaterThan(String value) {
            addCriterion("create_person >", value, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonGreaterThanOrEqualTo(String value) {
            addCriterion("create_person >=", value, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonLessThan(String value) {
            addCriterion("create_person <", value, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonLessThanOrEqualTo(String value) {
            addCriterion("create_person <=", value, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonLike(String value) {
            addCriterion("create_person like", value, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonNotLike(String value) {
            addCriterion("create_person not like", value, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonIn(List<String> values) {
            addCriterion("create_person in", values, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonNotIn(List<String> values) {
            addCriterion("create_person not in", values, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonBetween(String value1, String value2) {
            addCriterion("create_person between", value1, value2, "createPerson");
            return (Criteria) this;
        }

        public Criteria andCreatePersonNotBetween(String value1, String value2) {
            addCriterion("create_person not between", value1, value2, "createPerson");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Integer value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Integer value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Integer value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Integer value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Integer> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Integer> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeIsNull() {
            addCriterion("spiked_time is null");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeIsNotNull() {
            addCriterion("spiked_time is not null");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeEqualTo(Integer value) {
            addCriterion("spiked_time =", value, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeNotEqualTo(Integer value) {
            addCriterion("spiked_time <>", value, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeGreaterThan(Integer value) {
            addCriterion("spiked_time >", value, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("spiked_time >=", value, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeLessThan(Integer value) {
            addCriterion("spiked_time <", value, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeLessThanOrEqualTo(Integer value) {
            addCriterion("spiked_time <=", value, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeIn(List<Integer> values) {
            addCriterion("spiked_time in", values, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeNotIn(List<Integer> values) {
            addCriterion("spiked_time not in", values, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeBetween(Integer value1, Integer value2) {
            addCriterion("spiked_time between", value1, value2, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSpikedTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("spiked_time not between", value1, value2, "spikedTime");
            return (Criteria) this;
        }

        public Criteria andSellerIdIsNull() {
            addCriterion("seller_id is null");
            return (Criteria) this;
        }

        public Criteria andSellerIdIsNotNull() {
            addCriterion("seller_id is not null");
            return (Criteria) this;
        }

        public Criteria andSellerIdEqualTo(String value) {
            addCriterion("seller_id =", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotEqualTo(String value) {
            addCriterion("seller_id <>", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdGreaterThan(String value) {
            addCriterion("seller_id >", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdGreaterThanOrEqualTo(String value) {
            addCriterion("seller_id >=", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLessThan(String value) {
            addCriterion("seller_id <", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLessThanOrEqualTo(String value) {
            addCriterion("seller_id <=", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLike(String value) {
            addCriterion("seller_id like", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotLike(String value) {
            addCriterion("seller_id not like", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdIn(List<String> values) {
            addCriterion("seller_id in", values, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotIn(List<String> values) {
            addCriterion("seller_id not in", values, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdBetween(String value1, String value2) {
            addCriterion("seller_id between", value1, value2, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotBetween(String value1, String value2) {
            addCriterion("seller_id not between", value1, value2, "sellerId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}